/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.employee.dao;

import java.util.Date;
import java.util.List;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.employee.entity.Employee;

/**
 * 人事信息管理DAO接口
 * @author hui.li
 * @version 2017-07-15
 */
@MyBatisDao
public interface EmployeeDao extends CrudDao<Employee> {
	
	/**
	 * 获取单条数据
	 * @param id
	 * @return
	 */
	public Employee getcheckEmployeeNumber(String number);
	
	/**
	 * 
	 * 分页查询异常打卡员工
	 * @param employee
	 * @return
	 */
    public List<Employee> queryExceptionEmployee(Employee employee);
	/**
	 * 查询员工
	 * @param employee
	 * @return
	 */
    public  List<Employee> findPageEmployee(Employee employee);

	/**
	 * 查询今日有排班的用户
	 * @param todayDate
	 * @return
	 */
    List<Employee> findAllBySchedulingInformationAndDate(Date todayDate);
}